package com.bignerdranch.android.expresshelper.Utils;

import android.content.ContentValues;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

/**
 * Created by Administrator on 2016/6/29.
 */
public class ExpressDataHelper extends SQLiteOpenHelper {

    public ExpressDataHelper(Context context) {
        super(context, "Express.db", null, 1);
    }

    @Override
    public void onCreate(SQLiteDatabase db) {
        String sql = "create table expressInfo (expressNum varchar(20),expressName varchar(20),expressIcon varchar(20),expressStatus varchar(20),expressNick varchar(20))";
        db.execSQL(sql);
    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {


    }
}
